package xiaojian.toolkit.netty.handler.codec.http.response;

import io.netty.handler.codec.http.FullHttpResponse;
import xiaojian.toolkit.util.Identifier;

public class DefaultIdentifiableHttpResponse implements IdentifiableHttpResponse {

    private Identifier<?> uuid;
    private FullHttpResponse httpResponse;

    @Override
    public Identifier<?> getIdentification() {
        return uuid;
    }

    public void setIdentifier(Identifier<?> identifier) {
        this.uuid = identifier;
    }

    @Override
    public FullHttpResponse getHttpResponse() {
        return httpResponse;
    }

    public void setHttpResponse(FullHttpResponse httpResponse) {
        this.httpResponse = httpResponse;
    }
}
